<?php include_once 'header.tpl.php'; ?>
<!--热点新闻、通知通告-->
<div id="top-news">
	<div class="left">
    	<div class="clear_4px"></div>
    	<div class="focus">
    		<?php foreach ($picArchives as $key=>$archive):?>
    		<?php if ($key>=5) continue;?>
        	<div id="tab-<?php echo $key;?>"><img src="<?php echo $archive['pic'];?>" /></div>
        	<?php endforeach;?>
            <ul>
            	<?php foreach ($picArchives as $key=>$archive):?>
            	<?php if ($key>=5) continue;?>
                <li rel="tab-<?php echo $key;?>" class="tabs <?php if ($key==0):?>curTab<?php endif;?>"><?php echo $key+1;?></li>
                <?php endforeach;?>
            </ul>
        </div>
        <div class="clear_5px"></div>
        <div class="news">
        	<div class="news-title">
            	<div class="news-title-left"><a target="_blank" href="<?php echo $catalogs[2]['url'];?>"><?php echo $catalogs[2]['name'];?></a></div>
                <div class="news-title-right"><a target="_blank" href="<?php echo $catalogs[2]['url'];?>">more..</a></div>
            </div>
            <ul>
            <?php foreach ($archives[2] as $archive):?>
            <li><a href="<?php echo $archive['url'];?>" target="_blank"><?php echo $archive['title']; ?></a></li>
            <?php endforeach;?>
            </ul>
        </div>
    </div>
    <div class="clear_5px"></div>
    <div class="right">
    	<div class="news-title">
            	<div class="news-title-left"><a target="_blank" href="<?php echo $catalogs[8]['url'];?>"><?php echo $catalogs[8]['name'];?></a></div>
                <div class="news-title-right"><a target="_blank" href="<?php echo $catalogs[8]['url'];?>">more..</a></div>
            </div>
    </div>
</div>

<!--法律法规、领导致辞-->
<div id="top-center">
	<div class="left">
        <div class="bangong">
        	<img src="/Ria/Skin/bangongpingtai.jpg" />
        </div>
        <div class="clear_5px"></div>
        <div class="fagui">
        	<div class="title">
            	<h3 class="tabs curTab" rel="fagui_01"><?php echo $catalogs[14]['name'];?></h3>
                <h3 class="tabs" rel="fagui_02"><?php echo $catalogs[15]['name'];?></h3>
                <h3 class="tabs" rel="fagui_03"><?php echo $catalogs[16]['name'];?></h3>
            </div>
            <div id="fagui_01" class="new-list">
            <ul>
			<?php foreach($archives[14] as $archive):?>
                <li><a href="<?php echo $archive['url'];?>" target="_blank"><?php echo $archive['title']; ?></a></li>
            <?php endforeach;?>
            </ul>
            </div>
            <div id="fagui_02" class="new-list">
            <ul>
			<?php foreach($archives[15] as $archive):?>
                <li><a href="<?php echo $archive['url'];?>" target="_blank"><?php echo $archive['title']; ?></a></li>
            <?php endforeach;?>
            </ul>
            </div>
            <div id="fagui_03" class="new-list">
            <ul>
			<?php foreach($archives[16] as $archive):?>
                <li><a href="<?php echo $archive['url'];?>" target="_blank"><?php echo $archive['title']; ?></a></li>
            <?php endforeach;?>
            </ul>
            </div>
            
        </div>
    </div>
    <div class="clear_5px"></div>
    <div class="right">
    	<div class="news-title">
           <div class="news-title-left"><a href="<?php echo $catalogs[2]['url'];?>"><?php echo $catalogs[2]['name'];?></a></div>
           <div class="news-title-right"><a href="<?php echo $catalogs[2]['url'];?>">more..</a></div>
        </div>
        <ul>
            
        </ul>
    </div>
</div>

<!--第一个横向长图-->
<div class="ads">
	<img src="/Ria/Skin/ads.jpg" />
</div>

<!--第一蓝背景-->
<div class="blue-bg">
	<div class="title">
    	<h3><?php echo $catalogs[24]['name'];?></h3>
        <ul>
        <?php foreach ($catalogs as $cata):?>
        <?php if ($cata['pid']==24):?>
        	<li><a href="<?php echo $cata['url'];?>">▪ <?php echo $cata['name'];?></a></li>
        <?php endif; endforeach;?>
        </ul>
    </div>
    <div style="width:15px; height:3px; float:left"></div>
    <div class="left">
    	<h3>&nbsp;视频展播</h3>
        <div class="video">
        	<a href="#"><img src="/Ria/Skin/video.jpg" /></a>
            <div style="float:left;height:10px;width:14px"></div>
            <a href="#"><img src="/Ria/Skin/video.jpg" /></a>
        </div>
        <h3 class="ys"><?php echo $catalogs[30]['name']; ?></h3>
        <ul>
        <?php foreach($archives[30] as $archive):?>
        	<li><a href="<?php echo $archive['url'];?>" target="_blank"><?php echo $archive['title']; ?></a></li>
        <?php endforeach;?>
        </ul>
    </div>
    <div style="width:22px;height:10px;float:left"></div>
    <div class="center">
    	<div class="content">
        	<h3><?php echo $catalogs[25]['name'];?></h3>
            <ul>
			<?php foreach($archives[25] as $archive):?>
                <li><a href="<?php echo $archive['url'];?>" target="_blank"><?php echo $archive['title']; ?></a></li>
            <?php endforeach;?>
            </ul>
        </div>
    	<div class="slider"></div>
        <div class="content">
        	<h3><?php echo $catalogs[26]['name'];?></h3>
            <ul>
			<?php foreach($archives[26] as $archive):?>
                <li><a href="<?php echo $archive['url'];?>" target="_blank"><?php echo $archive['title']; ?></a></li>
            <?php endforeach;?>
            </ul>
        </div>
    </div>
    <div style="width:25px;height:10px;float:left"></div>
    <div class="right">
    	<div class="new">
            <div class="title">
                <h3 class="tabs curTab" rel="blue-right-div-1"><?php echo $catalogs[27]['name'];?></h3>
                <h3 class="tabs"  rel="blue-right-div-2"><?php echo $catalogs[28]['name'];?></h3>
            </div>
            <div id="blue-right-div-1">
            <ul class="shuzi">
			<?php foreach($archives[27] as $archive):?>
                <li><a href="<?php echo $archive['url'];?>" target="_blank"><?php echo strsub($archive['title'], 15); ?></a></li>
            <?php endforeach;?>
            </ul>
        	</div>
            <div id="blue-right-div-2">
            <ul class="shuzi">
			<?php foreach($archives[28] as $archive):?>
                <li><a href="<?php echo $archive['url'];?>" target="_blank"><?php echo strsub($archive['title'], 15); ?></a></li>
            <?php endforeach;?>
            </ul>
            </div>
        </div>
        
        <div class="new">
            <div class="title">
                <h3 class="curTab" rel="blue-right-div-1"><?php echo $catalogs[29]['name'];?></h3>
            </div>
            <div id="blue-right-div-1">
            <ul class="shuzi" style="height:100px">
			<?php foreach($archives[29] as $archive):?>
                <li><a href="<?php echo $archive['url'];?>" target="_blank"><?php echo strsub($archive['title'], 15); ?></a></li>
            <?php endforeach;?>
            </ul>
            </div>
        </div>
    </div>
</div>

<!--第二蓝背景-->
<div class="blue-bg">
	<div class="title">
    	<h3><?php echo $catalogs[17]['name'];?></h3>
        <ul>
        	<?php foreach ($catalogs as $cata):
        		if ($cata['pid']==17):
        	?>
        	<li><a href="<?php echo $cata['url'];?>">▪ <?php echo $cata['name'];?></a></li>
            <?php
            endif;
            endforeach;
            ?>
        </ul>
    </div>
    <div style="width:15px; height:3px; float:left"></div>
    <div class="left">
    	<h3>&nbsp;<?php echo $catalogs[18]['name'];?></h3>
        <ul>
        	<?php foreach($archives[18] as $key=>$archive): ?>
        	<li><a href="<?php echo $archive['url'];?>" target="_blank"><?php echo strsub($archive['title'], 18);?></a></li>
            <?php endforeach;?>
        </ul>
    </div>
    <div style="width:22px;height:10px;float:left"></div>
    <div class="center">
    	<div class="content">
        	<h3><?php echo $catalogs[19]['name'];?></h3><br />
			<br />
			<br />
			<br />
			<br />
        </div>
    	<div class="slider"></div>
        <div class="content">
        	<h3><?php echo $catalogs[20]['name'];?></h3><br />
			<br />
			<br />
			<br />
			<br />
        </div>
    </div>
    <div style="width:25px;height:10px;float:left"></div>
    <div class="right">
    	<div class="new">
            <div class="title">
                <h3 class="tabs curTab" rel="blue-right-div-3"><?php echo $catalogs[21]['name'];?></h3>
                <h3 class="tabs"  rel="blue-right-div-4"><?php echo $catalogs[22]['name'];?></h3>
            </div>
            <div id="blue-right-div-3">
            <div class="news-content">
            	<ul>
                <?php foreach($archives[21] as $arc): ?>
                	<li><a href="<?php echo $arc['url']; ?>"><?php echo $arc['title'];?></a></li>
                <?php endforeach;?>
                </ul>
            </div>
            </div>
            <div id="blue-right-div-4">
            <div class="news-content">
            	<ul>
                <?php foreach($archives[22] as $arc): ?>
                	<li><a href="<?php echo $arc['url']; ?>"><?php echo $arc['title'];?></a></li>
                <?php endforeach;?>
                </ul>
            </div>
            </div>
        </div>
        
        <div class="new">
            <div class="title">
                <h3 class="curTab" rel="blue-right-div-1"><?php echo $catalogs[23]['name'];?></h3>
            </div>
            <div id="blue-right-div-1">
            <div class="news-content">
            	<ul>
                <?php foreach($archives[23] as $arc): ?>
                	<li><a href="<?php echo $arc['url']; ?>"><?php echo $arc['title'];?></a></li>
                <?php endforeach;?>
                </ul>
            </div>
            </div>
        </div>
    </div>
</div>

<!--第二个横向长图-->
<div class="ads">
	<img src="/Ria/Skin/ads.jpg" />
</div>

<!--第一个红色框-->
<div class="red-bg">
	<div class="title">
    	<div class="clear_25px"></div>
    	<div class="h3"><?php echo $catalogs[51]['name'];?></div>
        <div class="left">
         ▪ <?php echo $catalogs[52]['name'];?>▪ <?php echo $catalogs[53]['name'];?>
        </div>
        <div class="center">
        ▪ <?php echo $catalogs[54]['name'];?>▪ <?php echo $catalogs[55]['name'];?>▪ <?php echo $catalogs[56]['name'];?>
        </div>
        <div class="right">
        ▪ <?php echo $catalogs[57]['name'];?>▪ <?php echo $catalogs[58]['name'];?>
        </div>
    </div>
    <div class="news">
    	<div class="left">
        	<div class="news-content">
            	<ul>
                <?php foreach($archives[52] as $arc): ?>
                	<li><a href="<?php echo $arc['url']; ?>"><?php echo $arc['title'];?></a></li>
                <?php endforeach;?>
                </ul>
            </div>
        </div>
        <div class="center">
        	<div class="news-content">
            	<ul>
                <?php foreach($archives[54] as $arc): ?>
                	<li><a href="<?php echo $arc['url']; ?>"><?php echo $arc['title'];?></a></li>
                <?php endforeach;?>
                </ul>
            </div>
        </div>
        <div class="right">
        	<div class="news-content">
            	<ul>
                <?php foreach($archives[57] as $arc): ?>
                	<li><a href="<?php echo $arc['url']; ?>"><?php echo $arc['title'];?></a></li>
                <?php endforeach;?>
                </ul>
            </div>
        </div>
    </div>
</div>

<!--第二个红色框-->
<div class="red-bg">
	<div class="title">
    	<div class="clear_25px"></div>
    	<div class="h3"><?php echo $catalogs[38]['name'];?></div>
        <div class="left">
         ▪ <?php echo $catalogs[39]['name'];?>▪ <?php echo $catalogs[40]['name'];?>
        </div>
        <div class="center">
        ▪ <?php echo $catalogs[41]['name'];?>▪ <?php echo $catalogs[42]['name'];?>
        </div>
        <div class="right">
        ▪ <?php echo $catalogs[43]['name'];?>▪ <?php echo $catalogs[44]['name'];?>
        </div>
    </div>
    <div class="news">
    	<div class="left">
        	<div class="news-content">
            	<ul>
                <?php foreach($archives[39] as $arc): ?>
                	<li><a href="<?php echo $arc['url']; ?>"><?php echo $arc['title'];?></a></li>
                <?php endforeach;?>
                </ul>
            </div>
        </div>
        <div class="center">
        	<div class="news-content">
            	<ul>
                <?php foreach($archives[41] as $arc): ?>
                	<li><a href="<?php echo $arc['url']; ?>"><?php echo $arc['title'];?></a></li>
                <?php endforeach;?>
                </ul>
            </div>
        </div>
        <div class="right">
        	<div class="news-content">
            	<ul>
                <?php foreach($archives[43] as $arc): ?>
                	<li><a href="<?php echo $arc['url']; ?>"><?php echo $arc['title'];?></a></li>
                <?php endforeach;?>
                </ul>
            </div>
        </div>
    </div>
</div>

<!--不能说的秘密-->
<div class="za">
	<div class="left">
    
    </div>
    <div class="clear_10px"></div>
    <div class="center">
    
    </div>
    <div class="clear_10px"></div>
    <div class="right">
    	<div class="one">
        	<div class="title">新闻标题</div>
            <div class="content">aaaa</div>
        </div>
        <div style="width:100%; height:5px;"></div>
        <div class="one">
        	<div class="title">新闻标题</div>
            <div class="content">aaaa</div>
        </div>
    </div>
</div>
<!--底下一大块-->
<div class="gongjian">

</div>

<?php include_once 'footer.tpl.php'; ?>
